Accessing and editing virtually-indexed message flows using structured query langauge (sql)

ABSTRACT

At least one message flow file that stores a message flow is read by a processor. The message flow stored within the at least one message flow file is parsed. The message flow is organized within a memory as a message flow database structure. Entries within the message flow database structure represent nodes, connections, and properties used by the message flow. The message flow database structure is edited in response to receipt of a structured query language (SQL) statement that specifies a change to the message flow database structure.

BACKGROUND

The present invention relates to message flows. More particularly, thepresent invention relates to accessing and editing virtually-indexedmessage flows using structured query language (SQL).

A message flow file is used to describe a message flow. The message flowdescribed within the message flow file includes nodes that are used toprocess a message via the message flow, properties of the nodes, andconnections between the nodes. The message flow file may also describeother objects in a message flow, such as sticky notes or other objects.

SUMMARY

A method includes reading, via a processor, at least one message flowfile that stores a message flow; parsing the message flow stored withinthe at least one message flow file; organizing the message flow within amemory as a message flow database structure, where entries within themessage flow database structure represent nodes, connections, andproperties used by the message flow; and editing the message flowdatabase structure in response to receipt of a structured query language(SQL) statement that specifies a change to the message flow databasestructure.

A system includes a memory and a processor programmed to read at leastone message flow file that stores a message flow; parse the message flowstored within the message flow file; organize the message flow withinthe memory as a message flow database structure, where entries withinthe message flow database structure represent nodes, connections, andproperties used by the message flow; and edit the message flow databasestructure in response to receipt of a structured query language (SQL)statement that specifies a change to the message flow databasestructure.

A computer program product includes a computer readable storage mediumincluding computer readable program code, where the computer readableprogram code when executed on a computer causes the computer to read atleast one message flow file that stores a message flow; parse themessage flow stored within the at least one message flow file; organizethe message flow within a memory as a message flow database structure,where entries within the message flow database structure representnodes, connections, and properties used by the message flow; and editthe message flow database structure in response to receipt of astructured query language (SQL) statement that specifies a change to themessage flow database structure.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of an example of an implementation of a systemfor automated accessing and editing of virtually-indexed message flowsusing structured query language (SQL) according to an embodiment of thepresent subject matter;

FIG. 2 is a block diagram of an example of an implementation of a coreprocessing module capable of performing automated accessing and editingof virtually-indexed message flows using structured query language (SQL)according to an embodiment of the present subject matter;

FIG. 3 is a block diagram of an example of an implementation of amessage flow for automated accessing and editing of virtually-indexedmessage flows using structured query language (SQL) according to anembodiment of the present subject matter;

FIG. 4A is a diagram of an example of an implementation of a firstportion of a virtual database structure stored within a memory area forautomated accessing and editing of virtually-indexed message flows usingstructured query language (SQL) according to an embodiment of thepresent subject matter;

FIG. 4B is a diagram of an example of an implementation of a secondportion of a virtual database structure stored within a memory area forautomated accessing and editing of virtually-indexed message flows usingstructured query language (SQL) according to an embodiment of thepresent subject matter;

FIG. 5 is a flow chart of an example of an implementation of a processfor automated accessing and editing of virtually-indexed message flowsusing structured query language (SQL) according to an embodiment of thepresent subject matter;

FIG. 6A is a flow chart of an example of initial processing within animplementation of a process for automated accessing and editing ofvirtually-indexed message flows using structured query language (SQL)according to an embodiment of the present subject matter; and

FIG. 6B is a flow chart of an example additional processing within animplementation of a process for automated accessing and editing ofvirtually-indexed message flows using structured query language (SQL)according to an embodiment of the present subject matter.

DETAILED DESCRIPTION

The examples set forth below represent the necessary information toenable those skilled in the art to practice the invention and illustratethe best mode of practicing the invention. Upon reading the followingdescription in light of the accompanying drawing figures, those skilledin the art will understand the concepts of the invention and willrecognize applications of these concepts not particularly addressedherein. It should be understood that these concepts and applicationsfall within the scope of the disclosure and the accompanying claims.

The subject matter described herein provides for accessing and editingof virtually-indexed message flows using structured query language(SQL). The present subject matter provides a virtual index of messageflows. The virtual index of message flows is accessible using SQLstatements. As such, the structure and contents of message flows may bequeried and edited using a language-based approach rather than textediting the message flow files. Requests to process message flows aredetected. A virtually-indexed message flow database structure iscreated, either directly or using a database connectivity driver. Thevirtually-indexed message flow database structure is created from amessage flow that is either stored within one or more message flow filesin a workspace storage location or from a message flow that is deployedwithin a message broker runtime environment. SQL statements areprocessed against the virtually-indexed message flow database structure,and any updates are applied to the virtually-indexed message flowdatabase structure. The original message flow may be overwritten eitherwithin the workspace storage location or within a message broker runtimeenvironment, or one or more new message flow files may be created inresponse to any changes to the message flow.

The present subject matter provides a message flow processing tool thatmay be executed either by a command line invocation or within agraphical user interface (GUI). A message flow or set of message flowsare detected and received as inputs (e.g., in response to selection by auser) to the message flow processing tool. The message flow or set ofmessage flows may be specified by reference to one or more message flowfiles. The message flow processing tool reads in the message flow(s),parses the message flow(s), and arranges the objects within the messageflow into a database structure. The database structure may be createdwithin an actual database or may be a “virtual” database structure thatallows message flows to be accessed from message flow files storedwithin a workspace without loading the message flows into an actualdatabase.

As such, for purposes of the present description, the database structurewill be referred to as a “virtual database” or “virtual databasestructure” because there is no requirement for the database structureformed from the message flow files to be instantiated or installed intoan actual database for access and editing of message flows.Additionally, the phrase “virtual database structure” is used forconvenience of reference to SQL processing. As such, the phrase “virtualdatabase structure” should not be considered limiting and may beconsidered one possible example implementation of a “virtual index” ofmessage flows. Accordingly, these phrases may be consideredinterchangeable for purposes of the present description. It should beunderstood that other formats for a virtual index of message flows arepossible and all are considered within the scope of the present subjectmatter. It is further understood that the “virtual database,” “virtualdatabase structure,” and “virtual index” of message flows will exist andbe operated upon within a memory device.

The virtual database structure is arranged with linked tables for flows,nodes, nodes properties, and other aspects of the respective messageflow(s). The entries in the virtual database structure are linked suchthat the nodes in a given flow are linked to the respective entry forthe flow in the respective flow table. For example, a node may berepresented as a table, with properties represented as columns andconnections represented as relationships between nodes.

With the virtual database structure created that links elements of themessage flow, SQL statements may be processed against the virtualdatabase structure. Users may input SQL syntax commands to performqueries on the data contained within the represented message flow(s).The user may select objects from the tables, and processing may beperformed to provide information about the respective objects. SQLstatements may be received and processed to update or insert rows intothe tables. These update or insert commands may be processed to modifyor add objects to the respective message flow(s). In response to anindication that the user has made all intended changes to the messageflow(s) using SQL statement(s), the message flow processing tool willuse the tables in the virtual database structure to update the originalmessage flow file(s) or create one or more new message flow files thatinclude the message flow(s) and changes to the message flow(s).

It should be understood that a virtual database structure may beorganized within an actual database without departure from the scope ofthe present subject matter. The virtual database structure mayalternatively be implemented within any memory device appropriate for agiven implementation.

It should be noted that using SQL processing to access and edit messageflows provides a stable platform for message flow editing that mayreduce message flow editing complexity while improving user message flowediting efficiency. For example, an SQL expression may be executed thatqueries all queue names from all MQInput nodes in all message flows(e.g., using a SELECT statement). Equally, an SQL expression may beexecuted that adds a prefix to all input queue names across all messageflows (e.g., using an UPDATE statement). As such, a user may rapidlymodify message flows without concern for syntactic errors at the messageflow level because the message flow processing tool manages message flowsyntax changes in response to SQL commands received from the user. Manyother examples of use of SQL to access and edit virtually-indexedmessage flows are possible and all are considered within the scope ofthe present subject matter.

As such, the present subject matter provides a variety of technologicalapproaches for accessing and editing virtually-indexed message flowsusing SQL. As one example, a virtual database driver may be used toaccess and edit message flows within message flow files stored within anunderlying workspace using SQL. Because the message flow files areaccessed within the underlying workspace, the message flows do not haveto be loaded into a temporary database to allow execution of SQLstatements within this example implementation. Alternatively, messageflows may be loaded from message flow files into a temporary/virtualdatabase for execution of the SQL statements.

As another alternative, message flows deployed within a message brokerruntime environment may be queried and directly manipulated within theruntime environment using SQL statements. In such an implementation, thepresent subject matter may be implemented, for example, as an opendatabase connectivity (ODBC) driver or a Java™ programming languagedatabase connectivity (JDBC) database driver by using an operationalmanagement application programming interface (API) within a messagebroker application (e.g., CMP API). Within this form of implementation,the respective database driver may be considered a “virtual” databasedriver that actually accesses files in the underlying workspace. Oneparameter that may be passed to the virtual database driver may includea workspace location where the message flow(s) are stored. The messageflow processing tool may process the files, against which the SQLexpressions may be executed, without loading the message flows into atemporary database.

As such, message flows may be accessed in a variety of formats andenvironments. Further, message flows may be queried and edited using SQLindependently of the particular format or environment associated withthe message flow.

It should be noted that conception of the present subject matterresulted from recognition of certain limitations associated with editingmessage flows stored within one or more message flow files. Conventionalmessage flow editing requires a user to utilize a text editor or atoolkit associated with a message flow creation package to edit messageflow files. However, certain aspects of a message flow, such asconnections between nodes, are difficult to identify and edit usingthese conventional methods. Additionally, message flow toolkits are onlyavailable for certain operating system platforms. Additionally, anadvanced user may not wish to install a message flow toolkit even iftheir operating system supports the toolkit application. The presentsubject matter improves message flow and message flow file access andediting by utilizing a structured query language (SQL) to access andedit virtually-indexed message flows within one or more message flowfiles. It was additionally recognized that SQL provides an intuitivesyntax that may be used for message flow editing. As such, new messageflow users may directly perform operations on a message flow withouthaving to learn how to use a message flow software application ortoolkit. As such, improved message flow and message flow file access andediting may be obtained via accessing and editing of virtually-indexedmessage flows using SQL as described herein.

The accessing and editing of virtually-indexed message flows usingstructured query language (SQL) described herein may be performed inreal time to allow prompt access and editing of message flows. Forpurposes of the present description, real time shall include any timeframe of sufficiently short duration as to provide reasonable responsetime for information processing acceptable to a user of the subjectmatter described. Additionally, the term “real time” shall include whatis commonly termed “near real time”—generally meaning any time frame ofsufficiently short duration as to provide reasonable response time foron-demand information processing acceptable to a user of the subjectmatter described (e.g., within a portion of a second or within a fewseconds). These terms, while difficult to precisely define are wellunderstood by those skilled in the art.

FIG. 1 is a block diagram of an example of an implementation of a system100 for automated accessing and editing of virtually-indexed messageflows using structured query language (SQL). A computing device_1 102through a computing device_N 104 communicate via a network 106 with aserver_1 108 through a server_M 110. Any of the computing device_1 102through the computing device_N 104 and the server_1 108 through theserver_M 110 may implement the automated accessing and editing ofvirtually-indexed message flows using structured query language (SQL).

The respective devices may implement the automated accessing and editingof virtually-indexed message flows using structured query language (SQL)locally within a local memory of the respective device(s) using avirtual database or virtual database driver, as described in more detailbelow. Alternatively, the respective devices may implement the automatedaccessing and editing of virtually-indexed message flows usingstructured query language (SQL) using an actual database, such as thedatabase 112.

As will be described in more detail below in association with FIG. 2through FIG. 6B, the automated accessing and editing ofvirtually-indexed message flows using structured query language (SQL) isbased upon formation of virtual indexes of message flows stored inmessage flow files and the use of SQL to access and edit the messageflow. The present subject matter alleviates a learning curve that may beassociated with message broker applications and alleviates complexitythat may be associated with text editing of message flow files.

It should be noted that the computing device_1 102 through the computingdevice_N 104 may be portable computing devices, either by a user'sability to move the respective computing device to different locations,or by the computing device's association with a portable platform, suchas a plane, train, automobile, or other moving vehicle. It should alsobe noted that the respective computing devices may be any computingdevice capable of processing information as described above and in moredetail below. For example, the computing device_1 102 through thecomputing device_N 104 may include devices such as a personal computer(e.g., desktop, laptop, etc.), or any other device capable of processinginformation as described in more detail below.

The network 106 may include any form of interconnection suitable for theintended purpose, including a private or public network such as anintranet or the Internet, respectively, direct inter-moduleinterconnection, dial-up, wireless, or any other interconnectionmechanism capable of interconnecting the respective devices.

The server_1 108 through the server_M 110 may include any device capableof providing data for consumption by a device, such as the computingdevice_1 102, via a network, such as the network 106. As such, theserver_1 108 through the server_M 110 may each include a web server,application server, or other data server device.

FIG. 2 is a block diagram of an example of an implementation of a coreprocessing module 200 capable of performing automated accessing andediting of virtually-indexed message flows using structured querylanguage (SQL). The core processing module 200 may be associated withany of the computing device_1 102 through the computing device_N 104 andthe server_1 108 through the server_M 110, as appropriate for a givenimplementation. Further, the core processing module 200 may providedifferent and complementary processing of virtually-indexed messageflows in association with each implementation, as described in moredetail below.

As such, for any of the examples herein, it is understood that anyaspect of functionality described with respect to any one device that isdescribed in conjunction with another device (e.g., sends/sending, etc.)is to be understood to concurrently describe the functionality of theother respective device (e.g., receives/receiving, etc.).

A central processing unit (CPU) 202 provides computer instructionexecution, computation, and other capabilities within the coreprocessing module 200. A display 204 provides visual information to auser of the core processing module 200 and an input device 206 providesinput capabilities for the user.

The display 204 may include any display device, such as a cathode raytube (CRT), liquid crystal display (LCD), light emitting diode (LED),electronic ink displays, projection, touchscreen, or other displayelement or panel. The input device 206 may include a computer keyboard,a keypad, a mouse, a pen, a joystick, or any other type of input deviceby which the user may interact with and respond to information on thedisplay 204.

A communication module 208 provides interconnection capabilities thatallow the core processing module 200 to communicate with other moduleswithin the system 100. The communication module 208 may include anyelectrical, protocol, and protocol conversion capabilities useable toprovide the interconnection capabilities. Though the communicationmodule 208 is illustrated as a component-level module for ease ofillustration and description purposes, it should be noted that thecommunication module 208 may include any hardware, programmedprocessor(s), and memory used to carry out the functions of thecommunication module 208 as described above and in more detail below.For example, the communication module 208 may include additionalcontroller circuitry in the form of application specific integratedcircuits (ASICs), processors, antennas, and/or discrete integratedcircuits and components for performing communication and electricalcontrol activities associated with the communication module 208.Additionally, the communication module 208 may include interrupt-level,stack-level, and application-level modules as appropriate. Furthermore,the communication module 208 may include any memory components used forstorage, execution, and data processing for performing processingactivities associated with the communication module 208. Thecommunication module 208 may also form a portion of other circuitrydescribed without departure from the scope of the present subjectmatter.

A memory 210 includes a message flow storage area 212 that stores one ormore message flow files for processing within the core processing module200. The message flow storage area 212 may also operate as a messageflow virtual index processing area, as described above and in moredetail below. As will be described in more detail below, message flowsstored within the message flow storage area 212 may be formed into avirtual index for access and editing using SQL statements.

A virtual database area 214 provides virtual database capabilities forvirtual indexing of message flows stored within the message flow storagearea 212 for implementations where the message flows within the messageflow file(s) are accessed and editing using a virtual database driver.As such, the virtual database area 214 represents a memory area forprocessing of message flows using a virtual database driver.

A message broker runtime environment 216 provides execution space for amessage broker application. The message broker application may beexecuted within the message broker runtime environment 216 by the CPU202.

It is understood that the memory 210 may include any combination ofvolatile and non-volatile memory suitable for the intended purpose,distributed or localized as appropriate, and may include other memorysegments not illustrated within the present example for ease ofillustration purposes. For example, the memory 210 may include a codestorage area, an operating system storage area, a code execution area,and a data area without departure from the scope of the present subjectmatter.

A message flow processing module 218 is also illustrated. The messageflow processing module 218 provides virtually-indexed message flowprocessing capabilities for the core processing module 200, as describedabove and in more detail below. The message flow processing module 218implements the automated accessing and editing of virtually-indexedmessage flows using structured query language (SQL) of the coreprocessing module 200. The message flow processing module 218 representsone possible implementation of the message flow processing tooldescribed herein.

Though the message flow processing module 218 is illustrated as acomponent-level module for ease of illustration and descriptionpurposes, it should be noted that the message flow processing module 218may include any hardware, programmed processor(s), and memory used tocarry out the functions of this module as described above and in moredetail below. For example, the message flow processing module 218 mayinclude additional controller circuitry in the form of applicationspecific integrated circuits (ASICs), processors, and/or discreteintegrated circuits and components for performing communication andelectrical control activities associated with the respective devices.Additionally, the message flow processing module 218 may includeinterrupt-level, stack-level, and application-level modules asappropriate. Furthermore, the message flow processing module 218 mayinclude any memory components used for storage, execution, and dataprocessing for performing processing activities associated with themodule.

It should also be noted that the message flow processing module 218 mayform a portion of other circuitry described without departure from thescope of the present subject matter. Further, the message flowprocessing module 218 may alternatively be implemented as an applicationstored within the memory 210. In such an implementation, the messageflow processing module 218 may include instructions executed by the CPU202 for performing the functionality described herein. The CPU 202 mayexecute these instructions to provide the processing capabilitiesdescribed above and in more detail below for the core processing module200. The message flow processing module 218 may form a portion of aninterrupt service routine (ISR), a portion of an operating system, aportion of a browser application, or a portion of a separate applicationwithout departure from the scope of the present subject matter.

The database 112 is also shown associated with the core processingmodule 200 within FIG. 2 to show that the database 112 may be coupled tothe core processing module 200 without requiring external connectivity,such as via the network 106.

The CPU 202, the display 204, the input device 206, the communicationmodule 208, the memory 210, the message flow processing module 218, andthe database 112 are interconnected via an interconnection 220. Theinterconnection 220 may include a system bus, a network, or any otherinterconnection capable of providing the respective components withsuitable interconnection for the respective purpose.

While the core processing module 200 is illustrated with and has certaincomponents described, other modules and components may be associatedwith the core processing module 200 without departure from the scope ofthe present subject matter. Additionally, it should be noted that, whilethe core processing module 200 is described as a single device for easeof illustration purposes, the components within the core processingmodule 200 may be co-located or distributed and interconnected via anetwork without departure from the scope of the present subject matter.For a distributed arrangement, the display 204 and the input device 206may be located at a kiosk or other location, while the CPU 202 andmemory 210 may be located at a local or remote server. Many otherpossible arrangements for components of the core processing module 200are possible and all are considered within the scope of the presentsubject matter. Accordingly, the core processing module 200 may takemany forms and may be associated with many platforms.

FIG. 3 is a block diagram of an example of an implementation of amessage flow 300 for automated accessing and editing ofvirtually-indexed message flows using structured query language (SQL).It is understood that the example message flow 300 represents a messageflow that may be generated by a message broker application within agraphical user interface (GUI), and may be captured into a syntacticform and stored to one or more message flow files within a memory area,such as the message flow storage area 212. The resulting stored messageflow files may be parsed and formed into a virtual index of messageflows, and may be accessed and edited as described herein using SQLstatements. A detailed description of FIG. 3 will be provided furtherbelow in favor of additional overview at this point in the descriptionof the present subject matter.

As described above, several variations of technological approaches foraccessing and editing virtually-indexed message flows using SQL arepossible. As one example, a virtual database driver may be used toaccess and edit message flows within message flow files stored within anunderlying workspace, such as within the message flow storage area 212of the memory 210, using SQL. Because the message flow files areaccessed within the underlying workspace, the message flows do not haveto be loaded into a temporary database, such as the database 112, toallow execution of SQL statements within this example implementation.Alternatively, message flows may be loaded from message flow files intoa temporary/virtual database, such as a virtual database formed withinthe virtual database area 214, for execution of the SQL statements.

As another example/alternative, message flows deployed within a messagebroker runtime environment, such as the message broker runtimeenvironment 216, may be queried and directly manipulated within thatruntime environment using SQL statements. In such an implementation, thepresent subject matter may be implemented, for example, as an opendatabase connectivity (ODBC) driver or a Java™ programming languagedatabase connectivity (JDBC) database driver by using an operationalmanagement application programming interface (API) within a messagebroker application (e.g., CMP API) executed by the CPU 202. Within thisform of implementation, the respective database driver may be considereda “virtual” database driver that actually accesses files in theunderlying workspace. One parameter that may be passed to the virtualdatabase driver may include a workspace location where the messageflow(s) are stored, such as the message flow storage area 212. Themessage flow processing module 218 may process the files, against whichthe SQL expressions may be executed, without loading the message flowsinto a temporary database, such as the database 112.

As such, message flows may be accessed in a variety of formats andenvironments. Further, message flows may be queried and edited using SQLindependently of the particular format or environment associated withthe message flow.

Returning to the description of the example message flow 300 of FIG. 3,a message queue input (MQ Input) node 302 is shown interconnected with acompute node 304 via a connection 306. The connection 306 connects anoutput terminal 308 of the MQ Input node 302 to an input terminal 310 ofthe compute node 304.

The compute node 304 is interconnected with a message queue output (MQOutput) node 312 via a connection 314. The connection 314 connects anoutput terminal 316 of the compute node 304 to an input terminal 318 ofthe MQ Output node 312.

The compute node 304 is also interconnected with a File Output node 320via a connection 322. The connection 322 connects the output terminal316 of the compute node 304 to an input terminal 324 of the File Outputnode 320.

As described above, the example message flow 300 of FIG. 3 may becaptured and represented syntactically for storage and processing of SQLstatements against the message flow 300. As such, for purposes of thepresent example, the message flow 300 is represented within thefollowing example pseudo syntax that may be stored in a file, such aswithin the message flow storage area 212 of the memory 210. A graphicfile named “Patent_flow.gif” represents the message flow 300 asdescribed above and as illustrated within FIG. 3.

Node names are represented within the following example pseudo syntax(e.g., “MQ Input” for the MQ Input node 302) as captured by a computingdevice from the entered graphic format shown within FIG. 3. Each node isgiven a node identifier (ID) assigned by the syntactic capture process(e.g., “FCMComposite_1_1” for the MQ Input node 302 and“FCMComposite_1_3” for the compute node 304).

Each connection is also assigned a connection ID (e.g.,“FCMConnection_1” for the connection 306). The node IDs are used withinthe connections syntax area to define the connections between therespective nodes (e.g., where the connection 306 is represented byxmi:id=“FCMConnection_1” and the target compute node 304 is representedas targetNode=“FCMComposite_1 3” and the source MQ Input node 302 isrepresented as sourceNode=“FCMComposite_1_1”). The source and targetterminals are also represented within the connection syntax (e.g.,sourceNode=“FCMComposite_1 1” for the output terminal 308 andtargetTerminalName=“InTerminal.in” for the input terminal 310). Itshould additionally be noted that a compute expression is identifiedwithin the example pseudo syntax for the compute node 304 (e.g.,computeExpression=“esql://routine/#Patent_flow_Compute.Main”). Theremainder of the node and connection syntax capture may be properlyunderstood in view of the examples described above.

Comment blocks/tags are added to identify the node and connectionsections within the following example pseudo syntax for ease of locationof these syntax areas. The following pseudo syntax illustrates onepossible capture of a syntactic representation of the example messageflow 300.

<?xml version=“1.0” encoding=“UTF-8”?> <ecore:EPackage xmi:version=“2.0”xmlns:xmi=http://www.domain.org/XMIxmlns:ComCompanyCompute.msgnode=“ComCompanyCompute.msgnode”xmlns:ComCompanyFileOutput.msgnode=“ComCompanyFileOutput.msgnode”xmlns:ComCompanyMQInput.msgnode=“ComCompanyMQInput.msgnode”xmlns:ComCompanyMQOutput.msgnode=“ComCompanyMQOutput.msgnode”xmlns:ecore=“http://www.eclipse.org/emf/2002/Ecore”xmlns:eflow=“http://www.Company.com/wbi/2005/eflow”xmlns:utility=“http://www.Company.com/wbi/2005/eflow_utility”nsURI=“Patent_flow.msgflow” nsPrefix=“Patent_flow.msgflow”><eClassifiers xmi:type=“eflow:FCMComposite” name=“FCMComposite_1”><eSuperTypes href=“http://www.Company.com/wbi/2005/eflow#//FCMBlock”/><translation xmi:type=“utility:TranslatableString” key=“Patent_flow”bundleName=“Patent_flow” pluginId=“MainFlowOnly”/> <colorGraphic16xmi:type=“utility:GIFFileGraphic” resourceName=“platform:/plugin/MainFlowOnly/icons/full/obj16/Patent_flow.gif”/><colorGraphic32 xmi:type=“utility:GIFFileGraphic” resourceName=“platform:/plugin/MainFlowOnly/icons/full/obj30/Patent_flow.gif”/> <!--Comment: BEGINNING OF MESSAGE FLOW COMPOSITION --> <composition> <!--Comment: BEGINNING OF NODE DEFINITIONS --> <nodesxmi:type=“ComCompanyMQInput.msgnode:FCMComposite_1”xmi:id=“FCMComposite_1_1” location=“125,121” queueName=“In”><translation xmi:type=“utility:ConstantString” string=“MQ Input”/></nodes> <nodes xmi:type=“ComCompanyMQOutput.msgnode:FCMComposite_1”xmi:id=“FCMComposite_1_2” location=“458,62” queueName=“Out”><translation xmi:type=“utility:ConstantString” string=“MQ Output”/></nodes> <nodes xmi:type=“ComCompanyCompute.msgnode:FCMComposite_1”xmi:id=“FCMComposite_1_3” location=“278,121”computeExpression=“esql://routine/#Patent_flow_Compute.Main”><translation xmi:type=“utility:ConstantString” string=“Compute”/></nodes> <nodes xmi:type=“ComCompanyFileOutput.msgnode:FCMComposite_1”xmi:id=“FCMComposite_1_4” location=“453,182”> <translationxmi:type=“utility:ConstantString” string=“File Output”/> </nodes> <!--Comment: BEGINNING OF CONNECTION DEFINITIONS --> <connectionsxmi:type=“eflow:FCMConnection” xmi:id=“FCMConnection_1”targetNode=“FCMComposite_1_3” sourceNode=“FCMComposite_1_1”sourceTerminalName=“OutTerminal.out”targetTerminalName=“InTerminal.in”/> <connectionsxmi:type=“eflow:FCMConnection” xmi:id=“FCMConnection_2”targetNode=“FCMComposite_1_2” sourceNode=“FCMComposite_1_3”sourceTerminalName=“OutTerminal.out”targetTerminalName=“InTerminal.in”/> <connectionsxmi:type=“eflow:FCMConnection” xmi:id=“FCMConnection_3”targetNode=“FCMComposite_1_4” sourceNode=“FCMComposite_1_3”sourceTerminalName=“OutTerminal.out1”targetTerminalName=“InTerminal.in”/> </composition> <propertyOrganizer/><stickyBoard/> </eClassifiers> </ecore:EPackage>

FIGS. 4A-4B illustrate a diagram of an example of an implementation of avirtual database structure 400 stored within a memory area, such as thevirtual database area 214 of the memory 210, for automated accessing andediting of virtually-indexed message flows using structured querylanguage (SQL). FIG. 4A is a first portion of the virtual databasestructure 400 and FIG. 4B is a second portion of the virtual databasestructure 400.

Due to space constraints within the drawing area, the syntax of thecompute expression shown within the example pseudo syntax above for thecompute node 304 (e.g.,computeExpression=“esql://routine/#Patent_flow_Compute.Main”) isabbreviated (e.g., computeExpression=X). It is understood that thevariable X is equivalent to “esql://routineMPatent_flow_Compute.Main”for purposes of the present examples. It is also understood that thesyntax within the example pseudo syntax above is considered to be storedwithin the virtual database structure 400 for purposes of the presentexample.

Additionally, the portions of the identifiers that are represented as“ComCompany” (e.g., ComCompanyMQInput.msgnode:FCMComposite_1) are alsoabbreviated (e.g., MQInput.msgnode:FCMComposite_1) to omit the“ComCompany” portion of the respective identifiers due to spaceconstraints within FIG. 4, but are understood to be represented as shownwithin the example pseudo syntax above and are entered in abbreviatedform within FIG. 4.

It should additionally be noted that certain fields shown within FIGS.4A-4B are directly copied into the respective data fields of the virtualdatabase structure 400 from the example pseudo syntax above with certainmodifications for space limitations, such as those described above. Thecontent of these fields may be identified by comparison with the examplepseudo syntax above. As such, a detailed description of the mapping isself-documenting by reference to the example pseudo syntax above and isnot described in detail herein for brevity.

Within FIGS. 4A-4B, three example tables are illustrated. It should benoted that other tables may be used and that additional tables may begenerated from the example pseudo syntax. These additional tables mayinclude, for example, a higher-level database table that includes aconnections row, a flow properties row, a flows row, a node propertiesrow, and a nodes row. The three example tables of FIGS. 4A-4B areprovided for purposes of presenting the technique described herein forcreating the virtual database structure 400. It is understood that aperson of ordinary skill may create all tables from the example pseudosyntax based upon the three tables that are detailed within FIGS. 4A-4B,and as such, the remaining tables are not illustrated for brevity.

With reference to FIG. 4A, a node table 402 is shown created within thevirtual database area 214 of the memory 210 from the example pseudosyntax above, and stores, within a virtual database format, nodeinformation for the nodes defined within the node definitions portion ofthe example pseudo syntax. A first column titled “ID” stores a numericnode identifier of the respective nodes. A last column (far right)titled “NODE ID” stores the node identifier from the example pseudosyntax for each of the respective nodes. As such, the “ID” column inconjunction with the “NODE ID” column form a mapping between the examplepseudo syntax and the virtual database structure 400 for purposes ofnode identification and correlation with the example pseudo syntax.

A “NODE NAME” column stores a numeric node name for the respectivenodes. A “NODE TYPE” column stores a type identifier that is referencedfor the respective nodes within the example pseudo syntax describedabove. A “NODE PROPERTY” column is also populated with node propertyinformation from the example pseudo syntax above for each of therespective nodes. The File Output Node 320 represented in the last rowdoes not have any properties listed because there are no propertieslisted within the example pseudo syntax for this node. A “NODE LOCATION”column includes graphical coordinates for the respective nodes withinthe representation of FIG. 3. However, it is understood that FIG. 3 isnot drawn to scale and the represented location information is basedupon the contents of the example pseudo syntax above.

A connection contents table 404 is illustrated that includes connectioninformation. A column titled “ID” stores a connection identifier for therespective connections that are represented. A column titled “FLOW USINGCONNECTION” stores an identifier (ID) of the flow with which theconnection table 404 is associated in the “flow” table (not shown).However, it is understood that a flow table may include a row for eachflow, with columns that reference the respective node, connection, andproperties tables of the respective flows. A “CONNECTION SOURCE NODE”column and a “CONNECTION TARGET NODE” column represent the respectivenode identifiers from the “ID” column of the node table 402 for therespective nodes. A “CONNECTION SOURCE TERMINAL” and “CONNECTION TARGETTERMINAL” column store terminal names represented and copied from theexample pseudo syntax above.

With reference to FIG. 4B, a node properties table 406 is shown createdwithin the virtual database area 214 of the memory 210 from the examplepseudo syntax above, and stores, within a virtual database format, nodeproperty information for the nodes defined within the node definitionsportion of the example pseudo syntax. A first column titled “ID” storesan identifier that represents a property identifier for the respectivenode properties. A “NODE USING PROPERTY” column stores node identifiersfrom the node table 402 for the respective nodes that have therespective node properties. A “NODE PROPERTY NAME” column stores aproperty name for the respective properties. Two options are possiblefor this column, “nodes” and “translation.” Reference to the examplepseudo syntax above shows the node property via a “nodes” tag pair foreach node and shows a translation property via a “translation” tag pairfor each node. A “NODE PROPERTY VALUE” column stores the contentassociated with the respective tag pairs for each node referenced withinthe node properties table 406. It should be noted that the fields of the“NODE PROPERTY VALUE” column are also cross referenced within the nodetable 402 described above.

As such, FIGS. 4A-4B provide example tables within a virtual databaseformat that are a part of the virtual database structure 400. It isunderstood that additional tables may be created from the example pseudosyntax above. As such, each such additional table is considered withinthe scope of the present subject matter. It is also understood that SQLstatements may be issued against the virtual database structure 400 andthat values of the respective column/row combinations may be returnedand/or modified by the SQL statements. As such, the virtual databasestructure 400 provides an improved technique for editing message flows.Further, as described above, any changes to the message flow representedwithin the virtual database structure 400 may be written to one or moremessage flow files, and the changed message flow may be implemented ormodified within a runtime environment.

FIG. 5 through FIG. 6B described below represent example processes thatmay be executed by devices, such as the core processing module 200, toperform the automated accessing and editing of virtually-indexed messageflows using structured query language (SQL) associated with the presentsubject matter. Many other variations on the example processes arepossible and all are considered within the scope of the present subjectmatter. The example processes may be performed by modules, such as themessage flow processing module 218 and/or executed by the CPU 202,associated with such devices. It should be noted that time outprocedures and other error control procedures are not illustrated withinthe example processes described below for ease of illustration purposes.However, it is understood that all such procedures are considered to bewithin the scope of the present subject matter. Further, the describedprocesses may be combined, sequences of the processing described may bechanged, and additional processing may be added without departure fromthe scope of the present subject matter.

FIG. 5 is a flow chart of an example of an implementation of a process500 for automated accessing and editing of virtually-indexed messageflows using structured query language (SQL). At block 502, the process500 reads, via a processor, at least one message flow file that stores amessage flow. At block 504, the process 500 parses the message flowstored within the at least one message flow file. At block 506, theprocess 500 organizes the message flow within a memory as a message flowdatabase structure, where entries within the message flow databasestructure represent nodes, connections, and properties used by themessage flow. At block 508, the process 500 edits the message flowdatabase structure in response to receipt of a structured query language(SQL) statement that specifies a change to the message flow databasestructure.

FIGS. 6A-6B illustrate a flow chart of an example of an implementationof process 600 for automated accessing and editing of virtually-indexedmessage flows using structured query language (SQL). FIG. 6A illustratesinitial processing within the process 600. At decision point 602, theprocess 600 makes a determination as to whether to process a messageflow. The determination to process a message flow may be made inresponse to receipt of a command-line instruction from a user via acommand-line interface, in response to receipt of a command enteredwithin a graphical user interface (GUI), or otherwise as appropriate fora given implementation.

In response to determining to process a message flow, the process 600makes a determination as to whether the request to process the messageflow is a request to process the message flow using a virtual databasedriver at decision point 604. In response to determining at decisionpoint 604 that the request to process the message flow is a request toprocess the message flow using a virtual database driver, the process600 makes a determination at decision point 606 as to whether therequest to process the message flow includes a request to process themessage flow within a message broker runtime environment within whichthe message flow is deployed or whether the request to process themessage flow includes a request to process the message flow from aworkspace storage location.

In response to determining at decision point 606 that the request toprocess the message flow includes a request to process the message flowwithin a message broker runtime environment within which the messageflow is deployed, the process 600 identifies the message broker runtimeenvironment at block 608. In response to determining at decision point606 that the request to process the message flow includes a request toprocess the message flow from a workspace storage location, the process600 identifies the workspace storage location where one or more messageflow files that include the message flow are stored at block 610.

In response to either identifying the message broker runtime environmentat block 608 or identifying the workspace storage location at block 610,the process 600 invokes a database connectivity driver to process astructured query language (SQL) statement against the message flow andpasses at least one parameter to the database connectivity driver thatrepresents/identifies either the workspace storage location or themessage broker runtime environment where the message flow is stored ordeployed, respectively, at block 612. As described above and in moredetail below, the message flow may be organized as a message flowdatabase structure without requiring the message flow database structureto be loaded into an actual database or temporary database.Additionally, the database connectivity driver may include a driver,such as an open database connectivity (ODBC) driver or a Java databaseconnectivity (JDBC®) driver. For purposes of the present description,the database connectivity driver may be considered any databaseconnectivity driver, such as a database connectivity driver programmedusing an object-oriented programming language.

At block 614, the process 600 accesses the workspace storage location orthe message broker runtime environment via the database connectivitydriver. At block 616, the process 600 reads, via the databaseconnectivity driver, at least one message flow file that stores amessage flow from the workspace storage location or from the messagebroker runtime environment where the message flow is stored or deployed,respectively. As described above, the parameter passed to the databaseconnectivity driver at invocation is used to identify the location ofthe stored message flow files or the message broker runtime environment.

At block 618, the process 600 organizes the message flow as avirtually-indexed message flow database structure within a memorylocation, such as the virtual database area 214 of the memory 210.Organizing the message flow within a memory as a virtually-indexedmessage flow database structure may include organizing the message flowwithin a memory as a message flow database structure, where entrieswithin the message flow database structure represent nodes, connections,and properties used by the message flow. Additionally, organizing themessage flow within a memory as a virtually-indexed message flowdatabase structure may include creating tables linked based upon messageflow connections that represent relationships between message processingnodes of the message flow. Additionally, the linked tables may eachrepresent one message flow processing node of the message flow andcolumns of each linked table may each represent one property of therespective message flow processing node. Additional processing for thisbranch of the process 600 will be described in more detail furtherbelow.

Returning to the description of decision point 604, in response todetermining that the request to process the message flow is not arequest to process the message flow using a virtual database driver, theprocess 600 reads one or more message flow files that store the messageflow at block 620. At block 622, the process 600 parses the message flowstored within the message flow file(s). At block 624, similar to theprocessing described above, the process 600 organizes the message flowas a virtually-indexed message flow database structure within a memorylocation, such as the virtual database area 214 of the memory 210.Organizing the message flow within a memory as a virtually-indexedmessage flow database structure may include organizing the message flowwithin a memory as a message flow database structure, where entrieswithin the message flow database structure represent nodes, connections,and properties used by the message flow. Additionally, organizing themessage flow within a memory as a virtually-indexed message flowdatabase structure may include creating tables linked based upon messageflow connections that represent relationships between message processingnodes of the message flow. Additionally, the linked tables may eachrepresent one message flow processing node of the message flow andcolumns of each linked table may each represent one property of therespective message flow processing node.

At decision point 626, the process 600 makes a determination as towhether to store the virtually-indexed message flow database structureto a temporary database for processing SQL statements against thevirtually-indexed message flow database structure. As such, it should benoted that loading the virtually-indexed message flow database structureinto an actual database is considered optional processing.

In response to determining to store the virtually-indexed message flowdatabase structure to a temporary database for processing SQL statementsagainst the virtually-indexed message flow database structure, theprocess 600 stores the virtually-indexed message flow database structureto a temporary database at block 628. The temporary database may includeany memory device, such as a temporary database organized within thedatabase 112 or within the memory 210, as appropriate for the givenimplementation. Structured query language (SQL) statements may beprocessed against the message flow database structure stored within thetemporary database.

In response to determining not to store the virtually-indexed messageflow database structure to a temporary database for processing SQLstatements against the virtually-indexed message flow database structureat decision point 626, or in response to storing the virtually-indexedmessage flow database structure to a temporary database at block 628, orin response to organizing the message flow as a virtually-indexedmessage flow database structure within a memory location at block 618,the process 600 transitions to decision point 630 and the processingshown and described in association with FIG. 6B.

FIG. 6B illustrates additional processing associated with the process600 for automated accessing and editing of virtually-indexed messageflows using structured query language (SQL). At decision point 630, theprocess 600 makes a determination as to whether a structured querylanguage (SQL) statement to process against the virtually-indexedmessage flow database structure has been detected. Detecting an SQLstatement may include detecting user entry of an SQL statement via oneof a command-line user interface and a graphical user interface (GUI)

In response to determining that an SQL statement to process against thevirtually-indexed message flow database structure has not been detected,the process 600 makes a determination at decision point 632 as towhether processing to detect SQL statements is completed. In response todetermining that processing to detect SQL statements is not completed,the process 600 returns to decision point 630 and iterates as describedabove.

In response to determining at decision point 630 that an SQL statementto process against the virtually-indexed message flow database structurehas been detected, the process 600 makes a determination at decisionpoint 634 as to whether the detected SQL statement is an SQL “SELECT”statement. In response to determining that the detected SQL statement isan SQL “SELECT” statement, the process 600 issues the SELECT queryagainst the virtually-indexed message flow database structure (eithervia the database connectivity driver or directly, and either within amemory or within a temporary database) and returns the message flowelement(s) referenced by the SQL SELECT statement at block 636. Theprocess 600 returns to decision point 632 and iterates as describedabove until a determination is made that processing of SQL statements iscompleted.

Returning to the description of decision point 634, in response todetermining that the detected SQL statement is not an SQL “SELECT”statement, the process 600 makes a determination at decision point 638as to whether the detected SQL statement is an SQL “UPDATE” or SQL“INSERT” statement. In response to determining that the detected SQLstatement is not an SQL “UPDATE” or SQL “INSERT” statement, the process600 returns to decision point 632 and iterates as described above untila determination is made that processing of SQL statements is completed.

In response to determining at decision point 638 that the detected SQLstatement is an SQL “UPDATE” or SQL “INSERT” statement, the process 600issues the SQL statement against the virtually-indexed message flowdatabase structure (again either via the database connectivity driver ordirectly, and either within a memory or within a temporary database) toedit the virtually-indexed message flow database structure according tothe SQL UPDATE or SQL INSERT statement that specifies the change to themessage flow database structure at block 640. Editing thevirtually-indexed message flow database structure may includemodifying/changing at least one of the linked tables of the message flowdatabase structure in response to the SQL UPDATE statement and adding atleast one message flow object in response to the SQL INSERT statement.As such, a user may select objects from the tables to get informationabout the objects and may also update or insert rows into the tables,which will modify or add objects to edit the message flow. In responseto completion of processing of the SQL statement at block 640, theprocess 600 returns to decision point 632 and iterates as describedabove until a determination is made that processing of SQL statements iscompleted.

In response to determining at decision point 632 that processing of SQLstatements is completed, such as via a user input or closing of anapplication that processes the SQL statements, the process 600 makes adetermination at decision point 642 as to whether any changes to thevirtually-indexed message flow database structure have resulted from theprocessing of the SQL statements against the virtually-indexed messageflow database structure. In response to determining that at least onechange to the virtually-indexed message flow database structure has notresulted from the processing of the SQL statements against thevirtually-indexed message flow database structure, the process 600returns to the processing described in association with FIG. 6A atdecision point 602 and iterates as described above.

In response to determining at decision point 642 that at least onechange to the virtually-indexed message flow database structure hasresulted from the processing of the SQL statements against thevirtually-indexed message flow database structure, the process 600 makesa determination at decision point 644 as to whether to update theexisting/current message flow, either within the workspace storagelocation or within the message broker runtime environment, based uponthe virtually-indexed message flow database structure changes. Inresponse to determining to update the existing message flow in responseto the virtually-indexed message flow database structure changes, theprocess 600 updates the existing message flow (e.g., message flow filesor deployed message flow) based upon the changes to thevirtually-indexed message flow database structure at block 646.

In response to determining not to update the existing message flow atdecision point 644, the process 600 creates at least one new messageflow file based upon the virtually-indexed message flow databasestructure and the changed at least one of the linked tables of themessage flow database structure at block 648. It should be noted thatthe user may also be prompted to overwrite the previous message flowfile(s) and the respective message flow file(s) may be overwrittenrather than creating new message flow files as appropriate for a givenimplementation. At block 650, the process 600 stores the new messageflow file(s). Storage of the new message flow files may includedeploying the new message flow within the message broker runtimeenvironment without departure from the scope of the present subjectmatter.

In response to either updating the existing message flow at block 646 orin response to storing the created message flow file(s) at block 650,the process 600 returns to the processing described in association withFIG. 6A at decision point 602 and iterates as described above.

As such, the process 600 detects requests to process message flows andcreates a virtually-indexed message flow database structure, eitherdirectly or using a database connectivity driver, from a message flowthat is either stored within one or more message flow files in aworkspace storage location or from a message flow that is deployedwithin a message broker runtime environment. Additionally, thevirtually-indexed message flow database structure is either stored andprocessed within a memory, or is stored and processed within a temporarydatabase. SQL statements are processed against the virtually-indexedmessage flow database structure, and any updates are applied to thevirtually-indexed message flow database structure. The original messageflow may be overwritten either within the workspace storage location orwithin a message broker runtime environment, or one or more new messageflow files may be created in response to any changes to the messageflow. Any created or updated message flow files may be stored within therespective storage location(s).

It should be noted that certain SQL statements have been described inassociation with the process 600 for purposes of example and that manyother SQL statements are possible. As such, any SQL statement may beprocessed against a virtually-indexed message flow database structure asdescribed herein and as appropriate for a given implementation.Accordingly, all such SQL statements are considered within the scope ofthe present subject matter.

As described above in association with FIG. 1 through FIG. 6B, theexample systems and processes provide for accessing and editing ofvirtually-indexed message flows using structured query language (SQL).Many other variations and additional activities associated withaccessing and editing of virtually-indexed message flows usingstructured query language (SQL) are possible and all are consideredwithin the scope of the present subject matter.

Those skilled in the art will recognize, upon consideration of the aboveteachings, that certain of the above examples are based upon use of aprogrammed processor, such as the CPU 202. However, the invention is notlimited to such example embodiments, since other embodiments could beimplemented using hardware component equivalents such as special purposehardware and/or dedicated processors. Similarly, general purposecomputers, microprocessor based computers, micro-controllers, opticalcomputers, analog computers, dedicated processors, application specificcircuits and/or dedicated hard wired logic may be used to constructalternative equivalent embodiments.

As will be appreciated by one skilled in the art, aspects of the presentinvention may be embodied as a system, method or computer programproduct. Accordingly, aspects of the present invention may take the formof an entirely hardware embodiment, an entirely software embodiment(including firmware, resident software, micro-code, etc.) or anembodiment combining software and hardware aspects that may allgenerally be referred to herein as a “circuit,” “module” or “system.”Furthermore, aspects of the present invention may take the form of acomputer program product embodied in one or more computer readablemedium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may beutilized. The computer readable medium may be a computer readable signalmedium or a computer readable storage medium. A computer readablestorage medium may be, for example, but not limited to, an electronic,magnetic, optical, electromagnetic, infrared, or semiconductor system,apparatus, or device, or any suitable combination of the foregoing. Morespecific examples (a non-exhaustive list) of the computer readablestorage medium would include the following: an electrical connectionhaving one or more wires, a portable computer diskette, a hard disk, arandom access memory (RAM), a read-only memory (ROM), an erasableprogrammable read-only memory (EPROM or Flash memory), a portablecompact disc read-only memory (CD-ROM), an optical storage device, amagnetic storage device, or any suitable combination of the foregoing.In the context of this document, a computer readable storage medium maybe any tangible medium that can contain, or store a program for use byor in connection with an instruction execution system, apparatus, ordevice.

A computer readable signal medium may include a propagated data signalwith computer readable program code embodied therein, for example, inbaseband or as part of a carrier wave. Such a propagated signal may takeany of a variety of forms, including, but not limited to,electro-magnetic, optical, or any suitable combination thereof. Acomputer readable signal medium may be any computer readable medium thatis not a computer readable storage medium and that can communicate,propagate, or transport a program for use by or in connection with aninstruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmittedusing any appropriate medium, including but not limited to wireless,wireline, optical fiber cable, RF, etc., or any suitable combination ofthe foregoing.

Computer program code for carrying out operations for aspects of thepresent invention may be written in any combination of one or moreprogramming languages, including an object oriented programming languagesuch as JAVA™, Smalltalk, C++ or the like and conventional proceduralprogramming languages, such as the “C” programming language or similarprogramming languages. The program code may execute entirely on theuser's computer, partly on the user's computer, as a stand-alonesoftware package, partly on the user's computer and partly on a remotecomputer or entirely on the remote computer or server. In the latterscenario, the remote computer may be connected to the user's computerthrough any type of network, including a local area network (LAN) or awide area network (WAN), or the connection may be made to an externalcomputer (for example, through the Internet using an Internet ServiceProvider).

Aspects of the present invention have been described with reference toflowchart illustrations and/or block diagrams of methods, apparatus(systems) and computer program products according to embodiments of theinvention. It will be understood that each block of the flowchartillustrations and/or block diagrams, and combinations of blocks in theflowchart illustrations and/or block diagrams, can be implemented bycomputer program instructions. These computer program instructions maybe provided to a processor of a general purpose computer, specialpurpose computer, or other programmable data processing apparatus toproduce a machine, such that the instructions, which execute via theprocessor of the computer or other programmable data processingapparatus, create means for implementing the functions/acts specified inthe flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in acomputer-readable storage medium that can direct a computer or otherprogrammable data processing apparatus to function in a particularmanner, such that the instructions stored in the computer-readablestorage medium produce an article of manufacture including instructionswhich implement the function/act specified in the flowchart and/or blockdiagram block or blocks.

The computer program instructions may also be loaded onto a computer,other programmable data processing apparatus, or other devices to causea series of operational steps to be performed on the computer, otherprogrammable apparatus or other devices to produce a computerimplemented process such that the instructions which execute on thecomputer or other programmable apparatus provide processes forimplementing the functions/acts specified in the flowchart and/or blockdiagram block or blocks.

The flowchart and block diagrams in the Figures illustrate thearchitecture, functionality, and operation of possible implementationsof systems, methods and computer program products according to variousembodiments of the present invention. In this regard, each block in theflowchart or block diagrams may represent a module, segment, or portionof code, which comprises one or more executable instructions forimplementing the specified logical function(s). It should also be notedthat, in some alternative implementations, the functions noted in theblock may occur out of the order noted in the figures. For example, twoblocks shown in succession may, in fact, be executed substantiallyconcurrently, or the blocks may sometimes be executed in the reverseorder, depending upon the functionality involved. It will also be notedthat each block of the block diagrams and/or flowchart illustration, andcombinations of blocks in the block diagrams and/or flowchartillustration, can be implemented by special purpose hardware-basedsystems that perform the specified functions or acts, or combinations ofspecial purpose hardware and computer instructions.

A data processing system suitable for storing and/or executing programcode will include at least one processor coupled directly or indirectlyto memory elements through a system bus. The memory elements can includelocal memory employed during actual execution of the program code, bulkstorage, and cache memories which provide temporary storage of at leastsome program code in order to reduce the number of times code must beretrieved from bulk storage during execution.

Input/output or I/O devices (including but not limited to keyboards,displays, pointing devices, etc.) can be coupled to the system eitherdirectly or through intervening I/O controllers.

Network adapters may also be coupled to the system to enable the dataprocessing system to become coupled to other data processing systems orremote printers or storage devices through intervening private or publicnetworks. Modems, cable modems and Ethernet cards are just a few of thecurrently available types of network adapters.

The terminology used herein is for the purpose of describing particularembodiments only and is not intended to be limiting of the invention. Asused herein, the singular forms “a,” “an” and “the” are intended toinclude the plural forms as well, unless the context clearly indicatesotherwise. It will be further understood that the terms “comprises”and/or “comprising,” when used in this specification, specify thepresence of stated features, integers, steps, operations, elements,and/or components, but do not preclude the presence or addition of oneor more other features, integers, steps, operations, elements,components, and/or groups thereof.

The corresponding structures, materials, acts, and equivalents of allmeans or step plus function elements in the claims below are intended toinclude any structure, material, or act for performing the function incombination with other claimed elements as specifically claimed. Thedescription of the present invention has been presented for purposes ofillustration and description, but is not intended to be exhaustive orlimited to the invention in the form disclosed. Many modifications andvariations will be apparent to those of ordinary skill in the artwithout departing from the scope and spirit of the invention. Theembodiment was chosen and described in order to best explain theprinciples of the invention and the practical application, and to enableothers of ordinary skill in the art to understand the invention forvarious embodiments with various modifications as are suited to theparticular use contemplated.

What is claimed is:
 1. A method, comprising: reading, via a processor,at least one message flow file that stores a message flow; parsing themessage flow stored within the at least one message flow file;organizing the message flow within a memory as a message flow databasestructure, where entries within the message flow database structurerepresent nodes, connections, and properties used by the message flow;and editing the message flow database structure in response to receiptof a structured query language (SQL) statement that specifies a changeto the message flow database structure.
 2. The method of claim 1, whereediting the message flow database structure in response to receipt ofthe SQL statement that specifies the change to the message flow databasestructure comprises invoking a database connectivity driver to processthe SQL statement to edit the message flow database structure.
 3. Themethod of claim 2, where the database connectivity driver comprises avirtual database driver.
 4. The method of claim 1, where editing themessage flow database structure in response to receipt of the SQLstatement that specifies the change to the message flow databasestructure comprises: detecting user entry of the SQL statement via oneof a command-line user interface and a graphical user interface (GUI);and processing the SQL statement against the message flow databasestructure in response to detection of the user entry of the SQLstatement to edit the message flow database structure.
 5. The method ofclaim 1, where the SQL statement comprises one of an SQL UPDATEstatement and an SQL INSERT statement and where editing the message flowdatabase structure in response to receipt of the SQL statement thatspecifies the change to the message flow database structure comprisesmodifying at least one table of the message flow database structure inresponse to the SQL statement comprising the SQL UPDATE statement andadding at least one message flow object in response to the SQL statementcomprising the SQL INSERT statement.
 6. The method of claim 5, furthercomprising: creating at least one new message flow file based upon theedited message flow database structure; and storing the at least one newmessage flow file.
 7. The method of claim 1, where: reading, via theprocessor, the at least one message flow file that stores the messageflow comprises reading, via the processor, the at least one message flowfile from a message broker runtime environment where the message flow isdeployed; and editing the message flow database structure in response toreceipt of the SQL statement that specifies the change to the messageflow database structure comprises processing the SQL statement againstthe message flow deployed within the message broker runtime environmentto edit the deployed message flow.
 8. A system, comprising: a memory;and a processor programmed to: read at least one message flow file thatstores a message flow; parse the message flow stored within the messageflow file; organize the message flow within the memory as a message flowdatabase structure, where entries within the message flow databasestructure represent nodes, connections, and properties used by themessage flow; and edit the message flow database structure in responseto receipt of a structured query language (SQL) statement that specifiesa change to the message flow database structure.
 9. The system of claim8, where in being programmed to edit the message flow database structurein response to receipt of the SQL statement that specifies the change tothe message flow database structure, the processor is programmed toinvoke a database connectivity driver to process the SQL statement toedit the message flow database structure.
 10. The system of claim 9,where the database connectivity driver comprises a virtual databasedriver.
 11. The system of claim 8, where in being programmed to edit themessage flow database structure in response to receipt of the SQLstatement that specifies the change to the message flow databasestructure, the processor is programmed to: detect user entry of the SQLstatement via one of a command-line user interface and a graphical userinterface (GUI); and process the SQL statement against the message flowdatabase structure in response to detection of the user entry of the SQLstatement to edit the message flow database structure.
 12. The system ofclaim 8, where the SQL statement comprises one of an SQL UPDATEstatement and an SQL INSERT statement and where in being programmed toedit the message flow database structure in response to receipt of theSQL statement that specifies the change to the message flow databasestructure, the processor is programmed to modify at least one table ofthe message flow database structure in response to the SQL statementcomprising the SQL UPDATE statement and to add at least one message flowobject in response to the SQL statement comprising the SQL INSERTstatement.
 13. The system of claim 8, where: in being programmed to readthe at least one message flow file that stores the message flow, theprocessor is programmed to read the at least one message flow file froma message broker runtime environment where the message flow is deployed;and in being programmed to edit the message flow database structure inresponse to receipt of the SQL statement that specifies the change tothe message flow database structure, the processor is programmed toprocess the SQL statement against the message flow deployed within themessage broker runtime environment to edit the deployed message flow.14. A computer program product comprising a computer readable storagemedium including computer readable program code, where the computerreadable program code when executed on a computer causes the computerto: read at least one message flow file that stores a message flow;parse the message flow stored within the at least one message flow file;organize the message flow within a memory as a message flow databasestructure, where entries within the message flow database structurerepresent nodes, connections, and properties used by the message flow;and edit the message flow database structure in response to receipt of astructured query language (SQL) statement that specifies a change to themessage flow database structure.
 15. The computer program product ofclaim 14, where in causing the computer to edit the message flowdatabase structure in response to receipt of the SQL statement thatspecifies the change to the message flow database structure, thecomputer readable program code when executed on the computer causes thecomputer to invoke a database connectivity driver to process the SQLstatement to edit the message flow database structure.
 16. The computerprogram product of claim 15, where the database connectivity drivercomprises a virtual database driver.
 17. The computer program product ofclaim 14 where in causing the computer to edit the message flow databasestructure in response to receipt of the SQL statement that specifies thechange to the message flow database structure, the computer readableprogram code when executed on the computer causes the computer to:detect user entry of the SQL statement via one of a command-line userinterface and a graphical user interface (GUI); and process the SQLstatement against the message flow database structure in response todetection of the user entry of the SQL statement to edit the messageflow database structure.
 18. The computer program product of claim 14,where the SQL statement comprises one of an SQL UPDATE statement and anSQL INSERT statement and where in causing the computer to edit themessage flow database structure in response to receipt of the SQLstatement that specifies the change to the message flow databasestructure, the computer readable program code when executed on thecomputer causes the computer to modify at least one table of the messageflow database structure in response to the SQL statement comprising theSQL UPDATE statement and to add at least one message flow object inresponse to the SQL statement comprising the SQL INSERT statement. 19.The computer program product of claim 18, where the computer readableprogram code when executed on the computer further causes the computerto: create at least one new message flow file based upon the editedmessage flow database structure; and store the at least one new messageflow file.
 20. The computer program product of claim 14, where: incausing the computer to read the at least one message flow file thatstores the message flow, the computer readable program code whenexecuted on the computer causes the computer to read the at least onemessage flow file from a message broker runtime environment where themessage flow is deployed; and in causing the computer to edit themessage flow database structure in response to receipt of the SQLstatement that specifies the change to the message flow databasestructure, the computer readable program code when executed on thecomputer causes the computer to process the SQL statement against themessage flow deployed within the message broker runtime environment toedit the deployed message flow.